package com.qf.service.impl;

import com.qf.dao.AccountDao01;
import com.qf.factory.BeanFactory;
import com.qf.service.AccountService01;

/**
 * @Description: 公用常量
 * @Data: 2022/8/27 17:39
 * @Pacakge: com.qf.service.impl
 * @ClassName: AccountServiceImpl01
 * @Author: fan
 * 账户管理业务实现类
 */
public class AccountServiceImpl01 implements AccountService01 {
    private AccountDao01 accountDao01 = (AccountDao01) BeanFactory.getBean("accountDao01");
    /**
     * 模仿添加业务
     */
    @Override
    public void addAccount() {
        System.out.println(accountDao01);
        accountDao01.addAccount();

    }
}
